#include <linux/slab.h>
#include <linux/module.h>

#ifndef __H_MY_character_dev

#define __H_MY_character_dev

dev_t make_dev(size_t i);

int my_char_open(struct inode * inode,struct file * fp);

ssize_t my_char_read(struct file *fp,char __user *buf ,size_t count,loff_t *f_ops);

ssize_t my_char_write(struct file *fp,const char __user *buf,size_t count,loff_t *f_ops);

int my_char_release(struct inode *inode,struct file *fp);

int __init my_char_dev_init(void);

void __exit my_char_dev_exit(void);

#endif